﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoPushExt.Models.ERP
{

    /// <summary>
    /// 商品订单主表(ERP)
    /// </summary>
    public class Order_Fath
    {

        public string Id { get; set; }  //票据号
        public string Dmno { get; set; }    //DM期号
        public DateTime? Busdate { get; set; } //订货日期
        public DateTime? Arrdate { get; set; } //送货日期
        public string Provider { get; set; }    //供应商
        public string Contractid { get; set; }  //合同号
        public string Class { get; set; }   //课别
        public string Organ { get; set; }   //收货机构
        public string MoreOrgan { get; set; }   //分货机构
        public DateTime? Accdate { get; set; } //收货日期
        public string Acceptid { get; set; }    //验收单号
        public int? Pretype { get; set; } //预收货订单
        public int? ordertype { get; set; }   //订单类型
        public int? Accept { get; set; }  //收货次数
        public int? Defer { get; set; }   //延期次数
        public string Remark { get; set; }  //备注
        public int? Prncount { get; set; }    //打印次数
        public int? Statu { get; set; }   //数据状态
        public string Rec_Organ { get; set; }   //录入机构
        public DateTime? Moditime { get; set; }    //修改时间
        public int? Isstop { get; set; }  //终止状态
        public string B2b_statu { get; set; }   //网上状态
        public string Store { get; set; }   //收货部门
        public string Pre_organ { get; set; }   //预收机构
        public DateTime? Arrtime1 { get; set; }    //开始到达时间
        public DateTime? Arrtime2 { get; set; }    //结束到达时间
        public string Acctype { get; set; } //税票类型
        public string Billid { get; set; }  //来源单号
        public string Currency { get; set; }    //币种
        public decimal? Exch_rate { get; set; }	//汇率

    }
}
